package org.stvd.service.base;

import java.util.List;

public interface BaseService<T> {

    T findByPk(Class<T> t, Object pk);

    List<T> findAll(Class<T> t);

    void insert(T entity);

    void update(T entity);

    void delete(Class<T> t, Object pk);
}